using System;
using NBModular.Lib.Data.Abstractions.Attributes;
using NBModular.Lib.Data.Core.Entities.Extend;

namespace NBModular.Module.Member.Domain.UserScores
{
    /// <summary>
    /// 用户积分表
    /// </summary>
    [Table("User_Scores")]
    public partial class UserScoresEntity : EntityBaseWithSoftDelete
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 积分数
        /// </summary>
		[Precision]
        public double Score { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        public short DataSource { get; set; }

        /// <summary>
        /// 来源ID
        /// </summary>
        public string DataSourceId { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [Length(3000)]
        public string DataRemarks { get; set; }

        /// <summary>
        /// 积分类型
        /// </summary>
        public short ScoreType { get; set; }

    }
}
